project(jps_planner)
set(CMAKE_BUILD_TYPE Release)

find_package(jps3d REQUIRED)

include_directories(
  include
  ${catkin_INCLUDE_DIRS}
)

add_library(${PROJECT_NAME}
  SHARED
  jps_planner.cpp
)

target_link_libraries(${PROJECT_NAME}
  PUBLIC
  roborts_costmap
  ${catkin_LIBRARIES}
  ${JPS3D_LIBRARIES}
)

add_library(planning::global_planner::${PROJECT_NAME} ALIAS ${PROJECT_NAME})